package com.tqyan.model.controller.request;

import lombok.Data;

import java.io.Serializable;

/**
 * @description OpenAI聊天请求内容
 * <p> <功能详细描述> </p>
 *
 * @author 陈晨
 * @date 2023/4/10 16:55
 */
@Data
public class OpenAIChatMessageRequest implements Serializable {
    private static final long serialVersionUID = 7058188014672488263L;

    /** 角色 */
    private String role;
    /** 内容 */
    private String content;

    private OpenAIChatMessageRequest() {}

    public OpenAIChatMessageRequest(String role, String content) {
        this.role = role;
        this.content = content;
    }

}


